

export function PermissionsToDetectFormUser(userRole, detectRole) {
  let IsPermissions = false;
  let userRoles= userRole.split(",");
  for (let i=0; i<userRoles.length; i++){
    if (userRoles[i] === detectRole){
      IsPermissions = true;
    }
  }
  return IsPermissions;
}
